<?php
// ### LINK LIST PLUGIN ### //

include('class.linkList.php');
$linkList = new linkList();
$linkList->set_page($pageid);
$linkList->set_id($article);
$relevantLinks = $linkList->get_links();
?>

<h3>Relevant links</h3>
<ul class="sumlist">
    <?php foreach($relevantLinks as $link) { ?>
    <li>
        <a href="http://www.<?php print($link['href']); ?>" rel="external" title="<?php print($link['summary']); ?>"><?php print($link['title']); ?></a>
    </li>
    <?php } ?>
</ul>